//require('./md5.js');
// require('./RequestHandle.js');
//require('./TouchSlide.js');
// require('../css/reset.css');
// require('../css/index.scss');
// import '../index.html';
// import '../dating.html';


//动态设置fontsize
function setSize(_min_width,dom){
	var _html_width = document.documentElement.clientWidth || document.body.clientWidth;
	if(_html_width<=_min_width){
		dom.style.fontSize = _min_width / 10 + 'px';
	}else{
		dom.style.fontSize = _html_width / 10 + 'px';
	}
}

var min_width = 270;
var html_dom = document.getElementsByTagName('html')[0];
setSize(min_width,html_dom);

//监听窗口大小变化
window.addEventListener('resize',function(e){
	setSize(min_width,html_dom);
});
